<?php if ( ! defined('BASEPATH')) exit('No direct script access allowed');

class Links extends CI_Controller {
	
	function __construct(){
		parent::__construct();
	}
	
	public function index(){
		$this->load->model('links_model');
		$new_data['where']['type'] = 1;
		$new_links = $this->links_model->get_links_list($new_data);
		$vdata['new_links'] = $new_links['links_list'];
		
		$bbs_data['where']['type'] = 2;
		$bbs_links = $this->links_model->get_links_list($bbs_data);
		$vdata['bbs_links'] = $bbs_links['links_list'];
		 
		$vdata['title'] = '壹投资--合作伙伴';
		$this->load->view('site/links',$vdata);
	}
	
	
	
}